package com.exchange.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName map
 */
@TableName(value ="map")
@Data
public class Map implements Serializable {
    /**
     * 地图表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 纬度
     */
    @TableField(value = "lat")
    private BigDecimal lat;

    /**
     * 经度
     */
    @TableField(value = "lon")
    private BigDecimal lon;

    /**
     * 当前经纬度的地址信息
     */
    @TableField(value = "address")
    private String address;

    /**
     * 
     */
    @TableField(value = "remark")
    private Long remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}